//列表数据
export const columns = [
    {
        title: '订单编号',
        align: "center",
        width: 120,
        dataIndex: 'orderNo',
        customRender: ({ text }) => {
            return !text ? "-" : text;
        },
    },
    {
        title: '姓名',
        align: "center",
        width: 210,
        dataIndex: 'name',
        slots: { customRender: 'infoSlot' },
    },
    {
        title: '附属信息',
        align: "center",
        width: 220,
        dataIndex: 'bankAccount',
        slots: { customRender: 'subsidiarySlot' },
    },
    {
        title: '发放金额',
        align: "center",
        width: 120,
        sorter: true,
        dataIndex: 'money',
        slots: { customRender: 'moneySlot' },
    },
    // {
    //   title: '服务费',
    //   align: "center",
    //   dataIndex: 'serviceFee',
    //   customRender:({text}) =>{
    //     return !text ? "0.00" : text.toFixed(2);
    //   },
    // },
    {
        title: '发放状态',
        align: "center",
        width: 100,
        dataIndex: 'status',
        slots: { customRender: 'statusSlot' },
    },
    {
        title: '银行反馈信息',
        align: "center",
        width: 140,
        dataIndex: 'bankFeedbackMessage',
        customRender: ({ text }) => {
            return !text ? "-" : text;
        },
    },
    {
        title: '发放时间',
        align: "center",
        width: 120,
        sorter: true,
        dataIndex: 'createTime'
    },
    {
        title: '银行反馈时间',
        align: "center",
        width: 120,
        sorter: true,
        dataIndex: 'bankFeedbackTime',
        customRender: ({ text }) => {
            return !text ? "-" : text;
        },
    },
];
